package com.cloud.pikachu.dingtalk.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "pikachu-csd-service",fallback = SysWorkServiceClientHiHystric.class)
public interface SysWorkServiceClient {

    @RequestMapping(value = "/csd/syswork/workInfo/{id}",method = RequestMethod.POST)
    String getSysWorkerInfo(@PathVariable("name") String name);
}
